//
// Memory.hpp for  in /home/lund/Projets/abstract-vm/vmtmp
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Mon Feb 18 11:02:57 2013 florian dewulf
// Last update Mon Feb 18 13:27:58 2013 florian dewulf
//

#ifndef		_MEMORY_H_
#define		_MEMORY_H_

#include	<iostream>
#include	<string>
#include	<stack>

class		Memory
{
public:
  Memory();
  Memory(const Memory &);
  virtual		~Memory();
  Memory		operator=(const Memory &);
  unsigned int		getSize() const;
  std::stack<IOperand>	getStack() const;
  void			setSize(const unsigned int &);
  void			setStack(const std::stack<IOperand> &);

private:
  unsigned int		_nb;
  std::stack<IOperand>	_stock;
};

#endif
